package com.hiraeth.modules.monitor.model.sd;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;

@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class GceSdConfig implements Serializable {
	
	private static final long serialVersionUID = -2083289550187196379L;

	/**
	 * The GCP Project
	 */
	private String project;
	
	/**
	 * The zone of the scrape targets. If you need multiple zones use multiple gce_sd_configs.
	 */
	private String zone;
	
	private String filter;
	
	/**
	 * 刷新间隔以重新读取实例列表
	 */
	private String refresh_interval;
	
	/**
	 * 获取metrics的端口。如果使用自定义IP地址，则必须在重新标记规则中指定。
	 */
	private int port;
	
	/**
	 * The tag separator is used to separate the tags on concatenation
	 */
	private String tag_separator;

}
